<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>pay_interface</title>
<!-- 2016-04-11 Mon 11:24 -->
<meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta  name="generator" content="Org-mode" />
<meta  name="author" content="dzh" />
<style type="text/css">
 <!--/*--><![CDATA[/*><!--*/
  .title  { text-align: center; }
  .todo   { font-family: monospace; color: red; }
  .done   { color: green; }
  .tag    { background-color: #eee; font-family: monospace;
            padding: 2px; font-size: 80%; font-weight: normal; }
  .timestamp { color: #bebebe; }
  .timestamp-kwd { color: #5f9ea0; }
  .right  { margin-left: auto; margin-right: 0px;  text-align: right; }
  .left   { margin-left: 0px;  margin-right: auto; text-align: left; }
  .center { margin-left: auto; margin-right: auto; text-align: center; }
  .underline { text-decoration: underline; }
  #postamble p, #preamble p { font-size: 90%; margin: .2em; }
  p.verse { margin-left: 3%; }
  pre {
    border: 1px solid #ccc;
    box-shadow: 3px 3px 3px #eee;
    padding: 8pt;
    font-family: monospace;
    overflow: auto;
    margin: 1.2em;
  }
  pre.src {
    position: relative;
    overflow: visible;
    padding-top: 1.2em;
  }
  pre.src:before {
    display: none;
    position: absolute;
    background-color: white;
    top: -10px;
    right: 10px;
    padding: 3px;
    border: 1px solid black;
  }
  pre.src:hover:before { display: inline;}
  pre.src-sh:before    { content: 'sh'; }
  pre.src-bash:before  { content: 'sh'; }
  pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
  pre.src-R:before     { content: 'R'; }
  pre.src-perl:before  { content: 'Perl'; }
  pre.src-java:before  { content: 'Java'; }
  pre.src-sql:before   { content: 'SQL'; }

  table { border-collapse:collapse; }
  caption.t-above { caption-side: top; }
  caption.t-bottom { caption-side: bottom; }
  td, th { vertical-align:top;  }
  th.right  { text-align: center;  }
  th.left   { text-align: center;   }
  th.center { text-align: center; }
  td.right  { text-align: right;  }
  td.left   { text-align: left;   }
  td.center { text-align: center; }
  dt { font-weight: bold; }
  .footpara:nth-child(2) { display: inline; }
  .footpara { display: block; }
  .footdef  { margin-bottom: 1em; }
  .figure { padding: 1em; }
  .figure p { text-align: center; }
  .inlinetask {
    padding: 10px;
    border: 2px solid gray;
    margin: 10px;
    background: #ffffcc;
  }
  #org-div-home-and-up
   { text-align: right; font-size: 70%; white-space: nowrap; }
  textarea { overflow-x: auto; }
  .linenr { font-size: smaller }
  .code-highlighted { background-color: #ffff00; }
  .org-info-js_info-navigation { border-style: none; }
  #org-info-js_console-label
    { font-size: 10px; font-weight: bold; white-space: nowrap; }
  .org-info-js_search-highlight
    { background-color: #ffff00; color: #000000; font-weight: bold; }
  /*]]>*/-->
</style>
<script type="text/javascript">
/*
@licstart  The following is the entire license notice for the
JavaScript code in this tag.

Copyright (C) 2012-2013 Free Software Foundation, Inc.

The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version.  The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.

As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.


@licend  The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
 function CodeHighlightOn(elem, id)
 {
   var target = document.getElementById(id);
   if(null != target) {
     elem.cacheClassElem = elem.className;
     elem.cacheClassTarget = target.className;
     target.className = "code-highlighted";
     elem.className   = "code-highlighted";
   }
 }
 function CodeHighlightOff(elem, id)
 {
   var target = document.getElementById(id);
   if(elem.cacheClassElem)
     elem.className = elem.cacheClassElem;
   if(elem.cacheClassTarget)
     target.className = elem.cacheClassTarget;
 }
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<h1 class="title">pay_interface</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. 接口说明</a>
<ul>
<li><a href="#sec-1-1">1.1. 接口规范</a></li>
<li><a href="#sec-1-2">1.2. 类型说明</a></li>
</ul>
</li>
<li><a href="#sec-2">2. 账户 /pay/usr/${reqOp}</a>
<ul>
<li><a href="#sec-2-1">2.1. reg 注册支付账户</a></li>
<li><a href="#sec-2-2">2.2. upu 更新账户信息</a></li>
<li><a href="#sec-2-3">2.3. qryu 查询账户信息</a></li>
</ul>
</li>
<li><a href="#sec-3">3. 订单 /pay/ord/${reqOp}</a>
<ul>
<li><a href="#sec-3-1">3.1. consume 消费订单，对应银联消费、支付宝、微信直接扣款</a></li>
<li><a href="#sec-3-2">3.2. qryod 查询订单</a></li>
<li><a href="#sec-3-3">3.3. qryodstatus 查询订单状态</a></li>
</ul>
</li>
<li><a href="#sec-4">4. 管理后台 /pay/adm/${reqOp}</a>
<ul>
<li><a href="#sec-4-1">4.1. addptemplate 创建支付模版</a></li>
<li><a href="#sec-4-2">4.2. addpcompany 创建支付商户</a></li>
<li><a href="#sec-4-3">4.3. addpscene 创建支付场景</a></li>
<li><a href="#sec-4-4">4.4. addptype 创建支付类型</a></li>
<li><a href="#sec-4-5">4.5. qrypscene</a></li>
<li><a href="#sec-4-6">4.6. qryall 查询所有支付配置信息</a></li>
</ul>
</li>
</ul>
</div>
</div>

<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> 接口说明</h2>
<div class="outline-text-2" id="text-1">
</div><div id="outline-container-sec-1-1" class="outline-3">
<h3 id="sec-1-1"><span class="section-number-3">1.1</span> 接口规范</h3>
<div class="outline-text-3" id="text-1-1">
<ul class="org-ul">
<li>POST请求
</li>
</ul>
<pre class="example">
</pre>
<ul class="org-ul">
<li>'*'表示必要请求参数
</li>
<li>'*'[W|A|U],分别表示微信|支付宝|银联必要参数
</li>
</ul>
</div>
</div>

<div id="outline-container-sec-1-2" class="outline-3">
<h3 id="sec-1-2"><span class="section-number-3">1.2</span> 类型说明</h3>
<div class="outline-text-3" id="text-1-2">
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">值</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">RspCode</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">PayType</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">UsrType</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">TransType</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">PayCurrency</td>
<td class="left">&#xa0;</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

<div id="outline-container-sec-2" class="outline-2">
<h2 id="sec-2"><span class="section-number-2">2</span> 账户 /pay/usr/${reqOp}</h2>
<div class="outline-text-2" id="text-2">
</div><div id="outline-container-sec-2-1" class="outline-3">
<h3 id="sec-2-1"><span class="section-number-3">2.1</span> reg 注册支付账户</h3>
<div class="outline-text-3" id="text-2-1">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">mobile*</td>
<td class="left">str</td>
<td class="left">手机号</td>
</tr>

<tr>
<td class="left">name</td>
<td class="left">str</td>
<td class="left">昵称</td>
</tr>

<tr>
<td class="left">type*</td>
<td class="left">int</td>
<td class="left">类型</td>
</tr>

<tr>
<td class="left">passwd</td>
<td class="left">str</td>
<td class="left">密码</td>
</tr>

<tr>
<td class="left">sex</td>
<td class="left">int</td>
<td class="left">性别</td>
</tr>

<tr>
<td class="left">realname</td>
<td class="left">str</td>
<td class="left">真实姓名</td>
</tr>

<tr>
<td class="left">email</td>
<td class="left">str</td>
<td class="left">邮箱</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{ 
  account: 注册成功，返回账户号
  rspCode: 
  rspDesc: 
}
</pre>
</div>
</div>

<div id="outline-container-sec-2-2" class="outline-3">
<h3 id="sec-2-2"><span class="section-number-3">2.2</span> upu 更新账户信息</h3>
<div class="outline-text-3" id="text-2-2">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">account*</td>
<td class="left">str</td>
<td class="left">账户号</td>
</tr>

<tr>
<td class="left">name</td>
<td class="left">str</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">sex</td>
<td class="left">int</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">email</td>
<td class="left">str</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">mobile</td>
<td class="left">str</td>
<td class="left">&#xa0;</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  rspCode:
  rspDesc:
}
</pre>
</div>
</div>
<div id="outline-container-sec-2-3" class="outline-3">
<h3 id="sec-2-3"><span class="section-number-3">2.3</span> qryu 查询账户信息</h3>
<div class="outline-text-3" id="text-2-3">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">account*</td>
<td class="left">str</td>
<td class="left">账户号</td>
</tr>
</tbody>
</table>

<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  account: {name: , mobile:, type:,sex: , email: , realname: ,amount: , },
  rspCode:
  rspDesc:
}
</pre>
</div>
</div>
</div>


<div id="outline-container-sec-3" class="outline-2">
<h2 id="sec-3"><span class="section-number-2">3</span> 订单 /pay/ord/${reqOp}</h2>
<div class="outline-text-2" id="text-3">
</div><div id="outline-container-sec-3-1" class="outline-3">
<h3 id="sec-3-1"><span class="section-number-3">3.1</span> consume 消费订单，对应银联消费、支付宝、微信直接扣款</h3>
<div class="outline-text-3" id="text-3-1">
<ul class="org-ul">
<li>请求
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">payType*</td>
<td class="left">int</td>
<td class="left">支付类型</td>
</tr>

<tr>
<td class="left">payGroup</td>
<td class="left">str</td>
<td class="left">支付组号</td>
</tr>

<tr>
<td class="left">payNo*</td>
<td class="left">str</td>
<td class="left">支付号</td>
</tr>

<tr>
<td class="left">payAmount*</td>
<td class="left">long</td>
<td class="left">支付总金额</td>
</tr>

<tr>
<td class="left">payCurrency</td>
<td class="left">int</td>
<td class="left">交易币种，默认人民币，见PayCurrency</td>
</tr>

<tr>
<td class="left">payDesc*</td>
<td class="left">str</td>
<td class="left">交易描述</td>
</tr>

<tr>
<td class="left">payDetail</td>
<td class="left">json</td>
<td class="left">支付明细，List&lt;PayDetail&gt;的json格式,详细的支付信息</td>
</tr>

<tr>
<td class="left">payTimeout</td>
<td class="left">long</td>
<td class="left">订单超时时间，默认1小时</td>
</tr>

<tr>
<td class="left">backUrl</td>
<td class="left">str</td>
<td class="left">订单是否达成的异步通知地址，优先级高于数据库配置</td>
</tr>

<tr>
<td class="left">account</td>
<td class="left">str</td>
<td class="left">订单支付账户</td>
</tr>

<tr>
<td class="left">transType*</td>
<td class="left">int</td>
<td class="left">消费类型</td>
</tr>

<tr>
<td class="left">merReserved</td>
<td class="left">str</td>
<td class="left">可选参数，支付支持的卡类型，'{cardType=01}'-借记卡，'{cardType=02}'-信用卡，不填都支持</td>
</tr>

<tr>
<td class="left">devType*W</td>
<td class="left">int</td>
<td class="left">DevType, 微信支付必须参数</td>
</tr>

<tr>
<td class="left">remoteIp*W</td>
<td class="left">str</td>
<td class="left">手机用户Ip</td>
</tr>

<tr>
<td class="left">openid*WJS</td>
<td class="left">str</td>
<td class="left">微信JS支付时必要参数</td>
</tr>

<tr>
<td class="left">tradeType*W</td>
<td class="left">str</td>
<td class="left">JSAPI&#x2013;公众号支付、NATIVE&#x2013;原生扫码支付、APP&#x2013;app支付(默认值)</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>同步返回
</li>
</ul>
<pre class="example">
{
  od: {预支付信息}
  rspCode: 响应码,见RspCode(支付平台返回码定义)，或URspCode(银联返回码定义）
  rspDesc:
}
</pre>
<ul class="org-ul">
<li>异步返回
</li>
</ul>
<p>
返回到backUrl定义的地址，说明订单的状态
</p>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">payNo</td>
<td class="left">str</td>
<td class="left">&#xa0;</td>
</tr>

<tr>
<td class="left">payStatus</td>
<td class="left">int</td>
<td class="left">支付状态</td>
</tr>
</tbody>
</table>
</div>
</div>

<div id="outline-container-sec-3-2" class="outline-3">
<h3 id="sec-3-2"><span class="section-number-3">3.2</span> qryod 查询订单</h3>
<div class="outline-text-3" id="text-3-2">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">payType</td>
<td class="left">int</td>
<td class="left">支付类型</td>
</tr>

<tr>
<td class="left">payNo*</td>
<td class="left">str</td>
<td class="left">支付号</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  od: {订单数据}
  rspCode: 响应码,见RspCode(支付平台返回码定义)，或URspCode(银联返回码定义）
  rspDesc:
}
</pre>
</div>
</div>

<div id="outline-container-sec-3-3" class="outline-3">
<h3 id="sec-3-3"><span class="section-number-3">3.3</span> qryodstatus 查询订单状态</h3>
<div class="outline-text-3" id="text-3-3">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">payType</td>
<td class="left">int</td>
<td class="left">支付类型</td>
</tr>

<tr>
<td class="left">payNo*</td>
<td class="left">str</td>
<td class="left">支付号</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  od: {订单状态}
  rspCode: 响应码,见RspCode(支付平台返回码定义)，或URspCode(银联返回码定义）
  rspDesc:
}
</pre>
</div>
</div>
</div>

<div id="outline-container-sec-4" class="outline-2">
<h2 id="sec-4"><span class="section-number-2">4</span> 管理后台 /pay/adm/${reqOp}</h2>
<div class="outline-text-2" id="text-4">
</div><div id="outline-container-sec-4-1" class="outline-3">
<h3 id="sec-4-1"><span class="section-number-3">4.1</span> addptemplate 创建支付模版</h3>
<div class="outline-text-3" id="text-4-1">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">name</td>
<td class="left">str</td>
<td class="left">支付类型名字</td>
</tr>

<tr>
<td class="left">desc</td>
<td class="left">str</td>
<td class="left">支付类型说明</td>
</tr>

<tr>
<td class="left">template</td>
<td class="left">str</td>
<td class="left">支付类型配置样板</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  id: templateId
  rspCode: 响应码,见RspCode(支付平台返回码定义）
  rspDesc:
}
</pre>
</div>
</div>
<div id="outline-container-sec-4-2" class="outline-3">
<h3 id="sec-4-2"><span class="section-number-3">4.2</span> addpcompany 创建支付商户</h3>
<div class="outline-text-3" id="text-4-2">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">name</td>
<td class="left">str</td>
<td class="left">商户名称</td>
</tr>

<tr>
<td class="left">desc</td>
<td class="left">str</td>
<td class="left">支付类型说明</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{ 
  id: 商户唯一ID
  rspCode: 响应码,见RspCode(支付平台返回码定义）
  rspDesc:
}
</pre>
</div>
</div>
<div id="outline-container-sec-4-3" class="outline-3">
<h3 id="sec-4-3"><span class="section-number-3">4.3</span> addpscene 创建支付场景</h3>
<div class="outline-text-3" id="text-4-3">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">companyId</td>
<td class="left">int</td>
<td class="left">商户ID</td>
</tr>

<tr>
<td class="left">name</td>
<td class="left">str</td>
<td class="left">场景名称</td>
</tr>

<tr>
<td class="left">desc</td>
<td class="left">str</td>
<td class="left">场景描述</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<p>
hh#+BEGIN<sub>EXAMPLE</sub>
{
  id: sceneId
  rspCode: 响应码,见RspCode(支付平台返回码定义）
  rspDesc:
}
#+END<sub>EXAMPLE</sub>
</p>
</div>
</div>
<div id="outline-container-sec-4-4" class="outline-3">
<h3 id="sec-4-4"><span class="section-number-3">4.4</span> addptype 创建支付类型</h3>
<div class="outline-text-3" id="text-4-4">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">name</td>
<td class="left">str</td>
<td class="left">支付名称</td>
</tr>

<tr>
<td class="left">desc</td>
<td class="left">str</td>
<td class="left">支付描述</td>
</tr>

<tr>
<td class="left">sceneId</td>
<td class="left">int</td>
<td class="left">场景ID</td>
</tr>

<tr>
<td class="left">templateId</td>
<td class="left">int</td>
<td class="left">模版ID</td>
</tr>

<tr>
<td class="left">conf</td>
<td class="left">str</td>
<td class="left">配置内容，格式由模版定义和校验</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  id: 支付唯一标识
  rspCode: 响应码,见RspCode(支付平台返回码定义)
  rspDesc:
}
</pre>
</div>
</div>
<div id="outline-container-sec-4-5" class="outline-3">
<h3 id="sec-4-5"><span class="section-number-3">4.5</span> qrypscene</h3>
<div class="outline-text-3" id="text-4-5">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">sceneId</td>
<td class="left">int</td>
<td class="left">场景ID</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  type: [{json of ptype}, ...]
  rspCode: 响应码,见RspCode(支付平台返回码定义）
  rspDesc:
}
</pre>
</div>
</div>
<div id="outline-container-sec-4-6" class="outline-3">
<h3 id="sec-4-6"><span class="section-number-3">4.6</span> qryall 查询所有支付配置信息</h3>
<div class="outline-text-3" id="text-4-6">
<ul class="org-ul">
<li>req
</li>
</ul>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="left" />

<col  class="left" />

<col  class="left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="left">参数名</th>
<th scope="col" class="left">类型</th>
<th scope="col" class="left">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left">filter</td>
<td class="left">int</td>
<td class="left">0-all</td>
</tr>
</tbody>
</table>
<ul class="org-ul">
<li>rsp
</li>
</ul>
<pre class="example">
{
  payConf: {json, 树状结构配置}
  rspCode: 响应码,见RspCode(支付平台返回码定义）
  rspDesc:
}
</pre>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: dzh</p>
<p class="date">Created: 2016-04-11 Mon 11:24</p>
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 24.4.1 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
</html>
